package com.twb.auth.entity.twbApiGroup;

import java.io.Serializable;


import org.apache.ibatis.type.JdbcType;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModelProperty;

/** 
 * @Title  TwbApiGroup 
 * @Description API分组信息
 
 * @author DSY
 * @date 2021-05-13 17:01:35
 */ 
@TableName(value = "twb_api_group")
public class TwbApiGroup implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	@TableId(value="id",type=IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "编号")
	private String id;
	
	/** 父级编码 */
	
    @TableField(value = "parent_id", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "父级编码")
	private String parentId;
	
	/** 分组名称 */
	
    @TableField(value = "name", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "分组名称")
	private String name;
	
	/** 顺序号 */
	
    @TableField(value = "group_seq", jdbcType = JdbcType.INTEGER)
    @ApiModelProperty(value = "顺序号")
	private Integer groupSeq;
	
	/** 项目ID */
	
    @TableField(value = "project_id", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "项目ID")
	private String projectId;
	
    @TableField(value = "package_name", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "包名")
	private String packageName;
    
    @TableField(value = "type", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "类型（1：普通分组；2：controller）")
	private String type;
	
	/** 编号 */
	public String getId() {
		return id;
	}
	/** 编号 */
	public void setId(String id) {
		this.id = id;
	}
	
	
	/** 父级编码 */
	public String getParentId() {
		return parentId;
	}
	/** 父级编码 */
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	
	
	/** 分组名称 */
	public String getName() {
		return name;
	}
	/** 分组名称 */
	public void setName(String name) {
		this.name = name;
	}
	
	
	/** 顺序号 */
	public Integer getGroupSeq() {
		return groupSeq;
	}
	/** 顺序号 */
	public void setGroupSeq(Integer groupSeq) {
		this.groupSeq = groupSeq;
	}
	
	
	/** 项目ID */
	public String getProjectId() {
		return projectId;
	}
	/** 项目ID */
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	public String getPackageName() {
		return packageName;
	}
	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
}